/**
 * Created by Dalyn on 2017/3/14.
 */
import Relay from "react-relay";

export default class GetManagerDefaultPasswordMutation extends Relay.Mutation {

    static fragments = {};

    getMutation() {
        return Relay.QL`mutation { getManagerDefaultPassword }`;
    }

    getVariables() {
        return {
            argsInput: {
            }
        };
    }

    getFatQuery() {
        return Relay.QL`fragment on getManagerDefaultPasswordPayload {
            data {  
                errorCode
                value
                totalResult
                id
                code
                defaultValue
            }
        }`;
    }

    getConfigs() {
        return [{
            type: 'REQUIRED_CHILDREN',
            children: [Relay.QL`
                fragment on getManagerDefaultPasswordPayload {
                    data {  
                        errorCode
                        value
                        totalResult
                        id
                        code
                        defaultValue
                    }
                }
            `]
        }];
    }

}